<section class="print" style="width:1000px; margin: 30px auto;font-family:'黑体'!important">
    <div ng-if="!detail">
        加载中
    </div>
    <table ng-if="detail" class="table {{$index%2 == 0?'':'PageNext'}}" style="border:1px solid #dcdcdc;margin-bottom:30px" ng-repeat="item in detail.halfOrder track by $index" >
        <tr>
            <td colspan="2" align="center" style="border-bottom:none;height:50px;line-height:50px;font-size:25px;font-weight:bold;border-right:1px solid #ccc">菜大师</td>
            <td colspan="10" align="center" style="border-bottom:none;;height:50px;line-height:50px;font-size:25px;font-weight:bold;border-right:1px solid #ccc">收货确认单</td>
        </tr>
        <tr>
            <td colspan="2" align="right" style="font-weight:bold;border-right:1px solid #ccc;border-top:none;line-height: 0px;">www.caidashi.cc</td>
            <td colspan="5"style="text-align: left;font-weight:bold">销售姓名：{{item.sellerName}}&nbsp;{{item.sellerPhone}}</td>
            <td colspan="5" align="left" style="font-weight:bold;border-right:1px solid #ccc;border-top:none;line-height: 0px;text-align:right">客服电话：400-011-8857</td>
        </tr>
        <tr>
            <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">客户名称：{{item.storeName}}&nbsp;{{item.orderOrdinal}}</td>
            <td colspan="6" style="text-align: left">客户地址：{{item.address}}-{{item.shippingAddress}}</td>
        </tr>
        <tr>
            <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">联系人：{{item.shippingPerson}}</td>
            <td colspan="6"style="text-align: left">联系电话：{{item.shippingPhone}}</td>
        </tr>
        <tr>
            <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">送货时间：{{item.receivingDate}}</td>
            <td colspan="6"style="text-align: left">下单时间：{{item.ctime}}</td>
        </tr>
        <tr>
            <td style="border-right:1px solid #dcdcdc">名称</td>
            <td style="border-right:1px solid #dcdcdc">数量</td>
            <td style="border-right:1px solid #dcdcdc">单价</td>
            <td style="border-right:1px solid #dcdcdc">金额</td>
            <td style="border-right:1px solid #dcdcdc">名称</td>
            <td style="border-right:1px solid #dcdcdc">数量</td>
            <td style="border-right:1px solid #dcdcdc">单价</td>
            <td style="border-right:1px solid #dcdcdc">金额</td>
            <td style="border-right:1px solid #dcdcdc">名称</td>
            <td style="border-right:1px solid #dcdcdc">数量</td>
            <td style="border-right:1px solid #dcdcdc">单价</td>
            <td style="border-right:1px solid #dcdcdc">金额</td>
        </tr>
        <tr ng-repeat="item2 in item.listOrderDetail track by $index">
            <td>{{item2[0].commodityName}}</td>
            <td>{{item2[0].trueNumber}}</td>
            <td>{{item2[0].unitPrice}}</td>
            <td style="border-right:1px solid #dcdcdc">{{item2[0].commodityName?item2[0].trueTotalPrice:''}}</td>
            <td>{{item2[1].commodityName}}</td>
            <td>{{item2[1].trueNumber}}</td>
            <td>{{item2[1].unitPrice}}</td>
            <td style="border-right:1px solid #dcdcdc">{{item2[1].commodityName?item2[1].trueTotalPrice:''}}</td>
            <td>{{item2[2].commodityName}}</td>
            <td>{{item2[2].trueNumber}}</td>
            <td>{{item2[2].unitPrice}}</td>
            <td>{{item2[2].commodityName?item2[2].trueTotalPrice:''}}</td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: left;">合计金额：{{item.trueTotalPrice}}元</td>
            <td colspan="4" style="text-align: left;">实收金额：</td>
            <td colspan="4" style="text-align: left;">代收金额：<span contenteditable="true"></span></td>
        </tr>
        <tr>
            <td colspan="12" style="text-align: left;">备注：<span contenteditable="true">{{item.remarks}}</span></td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: left;">客户签收：</td>
            <td colspan="4" style="text-align: left;">配送人员签字：</td>
            <td colspan="4" style="text-align: left;">配送车辆牌号：</td>
        </tr>
        <tr>
            <td colspan="6">安徽菜大师农业信息科技有限公司</td>
            <td colspan="6">日期:&nbsp;{{item.receivingDate | splitDate :'1':mouth:day }}  年 {{item.receivingDate | splitDate:year:'2':day }} 月 {{item.receivingDate | splitDate:year:mouth:'3'}} 日</td>
        </tr>
    </table>
    <table ng-if="detail" class="table PageNext" style="border:1px solid #dcdcdc;margin-bottom:60px" ng-repeat="item in detail.wholeOrder track by $index">
    <tr>
        <td colspan="2" align="center" style="border-bottom:none;height:50px;line-height:50px;font-size:18px;font-weight:bold;border-right:1px solid #ccc">菜大师</td>
        <td colspan="10" align="center" style="border-bottom:none;;height:50px;line-height:50px;font-size:18px;font-weight:bold;border-right:1px solid #ccc">收货确认单</td>
    </tr>
    <tr>
        <td colspan="2" align="right" style="font-weight:bold;border-right:1px solid #ccc;border-top:none;line-height: 0px;">www.caidashi.cc</td>
        <td colspan="5"style="text-align: left;font-weight:bold">销售姓名：{{item.sellerName}}&nbsp;{{item.sellerPhone}}</td>
        <td colspan="5" align="left" style="font-weight:bold;border-right:1px solid #ccc;border-top:none;line-height: 0px;text-align:right">客服电话：400-011-8857</td>
    </tr>
    <tr>
        <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">客户名称：{{item.storeName}}</td>
        <td colspan="6" style="text-align: left">客户地址：{{item.address}}-{{item.shippingAddress}}</td>
    </tr>
    <tr>
        <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">联系人：{{item.shippingPerson}}</td>
        <td colspan="6"style="text-align: left">联系电话：{{item.shippingPhone}}</td>
    </tr>
    <tr>
        <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">送货时间：{{item.receivingDate}}</td>
        <td colspan="6"style="text-align: left">下单时间：{{item.ctime}}</td>
    </tr>
    <tr>
        <td style="border-right:1px solid #dcdcdc">名称</td>
        <td style="border-right:1px solid #dcdcdc">数量</td>
        <td style="border-right:1px solid #dcdcdc">单价</td>
        <td style="border-right:1px solid #dcdcdc">金额</td>
        <td style="border-right:1px solid #dcdcdc">名称</td>
        <td style="border-right:1px solid #dcdcdc">数量</td>
        <td style="border-right:1px solid #dcdcdc">单价</td>
        <td style="border-right:1px solid #dcdcdc">金额</td>
        <td style="border-right:1px solid #dcdcdc">名称</td>
        <td style="border-right:1px solid #dcdcdc">数量</td>
        <td style="border-right:1px solid #dcdcdc">单价</td>
        <td style="border-right:1px solid #dcdcdc">金额</td>
    </tr>
    <tr ng-repeat="item2 in item.listOrderDetail track by $index">
        <td>{{item2[0].commodityName}}</td>
        <td>{{item2[0].trueNumber}}</td>
        <td>{{item2[0].unitPrice}}</td>
        <td style="border-right:1px solid #dcdcdc">{{item2[0].commodityName?item2[0].trueTotalPrice:''}}</td>
        <td>{{item2[1].commodityName}}</td>
        <td>{{item2[1].trueNumber}}</td>
        <td>{{item2[1].unitPrice}}</td>
        <td style="border-right:1px solid #dcdcdc">{{item2[1].commodityName?item2[1].trueTotalPrice:''}}</td>
        <td>{{item2[2].commodityName}}</td>
        <td>{{item2[2].trueNumber}}</td>
        <td>{{item2[2].unitPrice}}</td>
        <td>{{item2[2].commodityName?item2[2].trueTotalPrice:''}}</td>
    </tr>
    <tr>
        <td colspan="4" style="text-align: left;">合计金额：{{item.trueTotalPrice}}元</td>
        <td colspan="4" style="text-align: left;">实收金额：</td>
        <td colspan="4" style="text-align: left;">代收金额：<span contenteditable="true"></span></td>
    </tr>
    <tr>
        <td colspan="12" style="text-align: left;">备注：<span contenteditable="true">{{item.remarks}}</span></td>
    </tr>
    <tr>
        <td colspan="4" style="text-align: left;">客户签收：</td>
        <td colspan="4" style="text-align: left;">配送人员签字：</td>
        <td colspan="4" style="text-align: left;">配送车辆牌号：</td>
    </tr>
    <tr>
        <td colspan="6">安徽菜大师农业信息科技有限公司</td>
        <td colspan="6">日期:&nbsp;&nbsp;&nbsp;&nbsp;年 &nbsp;&nbsp;&nbsp; 月 &nbsp;&nbsp;&nbsp; 日</td>
    </tr>
</table>
    <table ng-if="detail" class="table PageNext" style="border:1px solid #dcdcdc;margin-bottom:60px" ng-repeat="item in detail.thanOrder track by $index">
        <tr>
            <td colspan="2" align="center" style="border-bottom:none;height:50px;line-height:50px;font-size:18px;font-weight:bold;border-right:1px solid #ccc">菜大师</td>
            <td colspan="10" align="center" style="border-bottom:none;;height:50px;line-height:50px;font-size:18px;font-weight:bold;border-right:1px solid #ccc">收货确认单</td>
        </tr>
        <tr>
            <td colspan="2" align="right" style="font-weight:bold;border-right:1px solid #ccc;border-top:none;line-height: 0px;">www.caidashi.cc</td>
            <td colspan="5"style="text-align: left;font-weight:bold">销售姓名：{{item.sellerName}}&nbsp;{{item.sellerPhone}}</td>
            <td colspan="5" align="left" style="font-weight:bold;border-right:1px solid #ccc;border-top:none;line-height: 0px;text-align:right">客服电话：400-011-8857</td>
        </tr>
        <tr>
            <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">客户名称：{{item.storeName}}</td>
            <td colspan="6" style="text-align: left">客户地址：{{item.address}}-{{item.shippingAddress}}</td>
        </tr>
        <tr>
            <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">联系人：{{item.shippingPerson}}</td>
            <td colspan="6"style="text-align: left">联系电话：{{item.shippingPhone}}</td>
        </tr>
        <tr>
            <td colspan="6" style="border-right:1px solid #dcdcdc;text-align: left">送货时间：{{item.receivingDate}}</td>
            <td colspan="6"style="text-align: left">下单时间：{{item.ctime}}</td>
        </tr>
        <tr>
            <td style="border-right:1px solid #dcdcdc">名称</td>
            <td style="border-right:1px solid #dcdcdc">数量</td>
            <td style="border-right:1px solid #dcdcdc">单价</td>
            <td style="border-right:1px solid #dcdcdc">金额</td>
            <td style="border-right:1px solid #dcdcdc">名称</td>
            <td style="border-right:1px solid #dcdcdc">数量</td>
            <td style="border-right:1px solid #dcdcdc">单价</td>
            <td style="border-right:1px solid #dcdcdc">金额</td>
            <td style="border-right:1px solid #dcdcdc">名称</td>
            <td style="border-right:1px solid #dcdcdc">数量</td>
            <td style="border-right:1px solid #dcdcdc">单价</td>
            <td style="border-right:1px solid #dcdcdc">金额</td>
        </tr>
        <tr ng-repeat="item2 in item.listOrderDetail track by $index">
            <td>{{item2[0].commodityName}}</td>
            <td>{{item2[0].trueNumber}}</td>
            <td>{{item2[0].unitPrice}}</td>
            <td style="border-right:1px solid #dcdcdc">{{item2[0].commodityName?item2[0].trueTotalPrice:''}}</td>
            <td>{{item2[1].commodityName}}</td>
            <td>{{item2[1].trueNumber}}</td>
            <td>{{item2[1].unitPrice}}</td>
            <td style="border-right:1px solid #dcdcdc">{{item2[1].commodityName?item2[1].trueTotalPrice:''}}</td>
            <td>{{item2[2].commodityName}}</td>
            <td>{{item2[2].trueNumber}}</td>
            <td>{{item2[2].unitPrice}}</td>
            <td>{{item2[2].commodityName?item2[2].trueTotalPrice:''}}</td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: left;">合计金额：{{item.trueTotalPrice}}元</td>
            <td colspan="4" style="text-align: left;">实收金额：</td>
            <td colspan="4" style="text-align: left;">代收金额：<span contenteditable="true"></span></td>
        </tr>
        <tr>
            <td colspan="12" style="text-align: left;">备注：<span contenteditable="true">{{item.remarks}}</span></td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: left;">客户签收：</td>
            <td colspan="4" style="text-align: left;">配送人员签字：</td>
            <td colspan="4" style="text-align: left;">配送车辆牌号：</td>
        </tr>
        <tr>
            <td colspan="6">安徽菜大师农业信息科技有限公司</td>
            <td colspan="6">日期:年 &nbsp;&nbsp;&nbsp; 月 &nbsp;&nbsp;&nbsp; 日</td>
        </tr>
    </table>
    <style>
        td{
            box-sizing: border-box;
            padding:0 8px !important;
            line-height:30px;
             vertical-align: middle!important;
            -webkit-box-size: border-box;
            height:30px!important;
        }
        .PageNext   {
            PAGE-BREAK-AFTER:   always
        }
    </style>
</section>